#include "threadpool.hpp"
#include "Task.hpp"


int main(){
    ThreadPool<Task> poll;
    poll.run();
    int x,y;
    char op;
    while(true){
        std::cout<<"请输入x:";
        std::cin>>x;
        std::cout<<"请输入y:";
        std::cin>>y;
        std::cout<<"请输入op:";
        std::cin>>op;
        Task t(x,y,op,mymath);
        poll.push(t);
        sleep(1);
    }
    return 0;
}